Skip to content

Annotate session init spans with catalog size counts - #1845

Closed
RhysSullivan wants to merge 1 commit into
lazy-quickjs-initfrom
footprint-attrs
Closed

Annotate session init spans with catalog size counts#1845
RhysSullivan wants to merge 1 commit into
lazy-quickjs-initfrom
footprint-attrs

Conversation

@RhysSullivan

Copy link
Copy Markdown
Collaborator

Production MCP session Durable Objects OOM their isolates at wildly varying resident-session counts, and per-session memory footprint varies a lot by organization. Today nothing explains which sessions are heavy, since workerd exposes no performance.memory.

This adds one cheap span attribute, mcp.session.integration_count, on the McpSessionDO.init span, alongside the existing mcp.isolate.* residency attributes, so heavy sessions can be attributed to what they hold instead of only counted.

Instrumentation only. No behavior change.

@github-actions

Copy link
Copy Markdown
Contributor

Cloudflare preview

Console https://executor-preview-pr-1845.executor-e2e.workers.dev
MCP https://executor-preview-pr-1845.executor-e2e.workers.dev/mcp
Deployed commit 1da08c3

Sign-in is Cloudflare Access (one-time PIN to an allowed email). The preview has its own database and encryption key; it is destroyed when this PR closes.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
executor-marketing 1da08c3 Commit Preview URL

Branch Preview URL
Aug 29 2026, 07:28 AM

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
executor-cloud 1da08c3 Aug 29 2026, 07:28 AM

@pkg-pr-new

pkg-pr-new Bot commented Aug 29, 2026

Copy link
Copy Markdown

Open in StackBlitz

@executor-js/cli

npm i https://pkg.pr.new/@executor-js/cli@1845

@executor-js/config

npm i https://pkg.pr.new/@executor-js/config@1845

@executor-js/execution

npm i https://pkg.pr.new/@executor-js/execution@1845

@executor-js/sdk

npm i https://pkg.pr.new/@executor-js/sdk@1845

@executor-js/codemode-core

npm i https://pkg.pr.new/@executor-js/codemode-core@1845

@executor-js/runtime-quickjs

npm i https://pkg.pr.new/@executor-js/runtime-quickjs@1845

@executor-js/plugin-file-secrets

npm i https://pkg.pr.new/@executor-js/plugin-file-secrets@1845

@executor-js/plugin-graphql

npm i https://pkg.pr.new/@executor-js/plugin-graphql@1845

@executor-js/plugin-keychain

npm i https://pkg.pr.new/@executor-js/plugin-keychain@1845

@executor-js/plugin-mcp

npm i https://pkg.pr.new/@executor-js/plugin-mcp@1845

@executor-js/plugin-onepassword

npm i https://pkg.pr.new/@executor-js/plugin-onepassword@1845

@executor-js/plugin-openapi

npm i https://pkg.pr.new/@executor-js/plugin-openapi@1845

executor

npm i https://pkg.pr.new/executor@1845

commit: 1da08c3

@RhysSullivan
RhysSullivan deleted the branch lazy-quickjs-init August 29, 2026 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant